package com.ctshk.rpc.order.goods.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 *  机场快线订单
 * </p>
 *
 * @author 李新科
 * @date 2021/5/27 20:39
 */
@Data
@ApiModel(value="机场快线订单DTO实体")
public class AirportExpressOrderEsDTO implements Serializable {

    @ApiModelProperty(value = "机场快线-票种名称")
    private String ticketTypeName;

    @ApiModelProperty(value = "机场快线-票种名称")
    private String ticketTypeEnName;

    @ApiModelProperty(value = "机场快线-成人票数")
    private Integer adultTicketNumber;

    @ApiModelProperty(value = "机场快线-小童票数")
    private Integer childrenTicketNumber;

    @ApiModelProperty(value = "机场快线-有效期")
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private LocalDate effectiveTime;

    @ApiModelProperty("机场快线-车票二维码url")
    private String ticketQrCodeUrl;
}
